- 
		Home
	
 
	- 
Pronamic Pay
 
- 
9.17.2 (latest)
 
- 
Code
 
- 
Classes
 
-  SubscriptionsDataStoreCPT 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											57 | 
										
																			
											| Dependencies | 
											10 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											568 | 
										
																			
											| Lines of code | 
											282 | 
										
																			
											| Logical lines of code | 
											162 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											170 | 
										
																			
											| Methods | 
											14 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 14
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| read() | 
									A  | 
																	43 | 
													10 | 
													46 | 
							
					
				| read_post_meta() | 
									A  | 
																	50 | 
													8 | 
													28 | 
							
					
				| update_meta_status() | 
									S  | 
																	52 | 
													6 | 
													23 | 
							
					
				| update_post_meta() | 
									S  | 
																	53 | 
													5 | 
													23 | 
							
					
				| get_subscription() | 
									S  | 
																	57 | 
													4 | 
													18 | 
							
					
				| create() | 
									S  | 
																	49 | 
													3 | 
													33 | 
							
					
				| preserve_post_content() | 
									S  | 
																	61 | 
													4 | 
													13 | 
							
					
				| update() | 
									S  | 
																	53 | 
													3 | 
													26 | 
							
					
				| get_first_payment() | 
									S  | 
																	56 | 
													3 | 
													20 | 
							
					
				| get_post_data() | 
									S  | 
																	60 | 
													3 | 
													13 | 
							
					
				| get_meta_status_label() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| get_post_status_from_meta_status() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| save() | 
									S  | 
																	65 | 
													2 | 
													8 | 
							
					
				| __construct() | 
									S  | 
																	60 | 
													1 | 
													14 |